package com.zrw.sms.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.zrw.common.annotation.Excel;
import com.zrw.common.annotation.Excel.ColumnType;
import com.zrw.common.core.domain.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Getter;
import lombok.Setter;

/**
 * app表 sys_post
 * 
 * @author ruoyi
 */
@Getter
@Setter
@Schema(description = "app")
public class SmsCustomerApp extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 岗位序号
     */
    @Excel(name = "appId", cellType = ColumnType.NUMERIC)
    @TableId(type = IdType.AUTO)
    @Schema(description = "appId")
    private Long appId;

    /**
     * appKey
     */
    @NotBlank(message = "appKey不能为空")
    @Excel(name = "appKey")
    @Schema(description = "appKey")
    private String appKey;

    /**
     * app密码
     */
    @Excel(name = "app密码")
    @Schema(description = "app密码")
    private String appSecret;
}